package com.d0324;

import java.util.Calendar;

public class DataTest {
    public static void main(String[] args) {
        Calendar calendar=Calendar.getInstance();
        calendar.set(Calendar.YEAR,2035);
        System.out.println(calendar.getTime());
        System.out.println(calendar.get(Calendar.MONTH)+1);
    }
}
